<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<html>
<head>
    <title>Struts2 AJAX</title>
    <s:head />
    <sx:head />
</head>
<body>
<s:form>
    <sx:autocompleter label="Favourite Colour"
                      list="{'red','green','blue'}" />
    <br />
    <sx:datetimepicker name="deliverydate" label="Delivery Date"
                       displayFormat="yyyy/MM/dd" />
    <br />
    <s:url id="url" value="/hello.action" />
    <sx:div href="%{#url}" delay="2000">
        Initial Content
    </sx:div>
    <br/>
    <sx:tabbedpanel id="tabContainer">
        <sx:div label="Tab 1">Tab 1</sx:div>
        <sx:div label="Tab 2">Tab 2</sx:div>
    </sx:tabbedpanel>
</s:form>
</body>
</html>